package com.micro.modual.service;

import com.micro.core.frame.service.BasicsService;
import com.micro.core.resp.RespJson;
import com.micro.core.resp.RespJsonData;
import com.micro.core.resp.RespJsonPageData;
import com.micro.modual.entity.PrefectureGoods;
import com.micro.modual.model.bo.prefecturegoods.PrefectureGoodsBO;
import com.micro.modual.model.bo.prefecturegoods.PrefectureGoodsListBO;
import com.micro.modual.model.bo.prefecturegoods.PrefectureGoodsStatusBO;
import com.micro.modual.model.dto.goodssku.GoodsSkuListDTO;
import com.micro.modual.model.dto.prefecturegoods.PrefectureGoodsListDTO;

import java.util.List;
import java.util.Map;


/**
*  <h1>专区商品表 接口</h1>
 * @author LevelCoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface PrefectureGoodsService extends BasicsService<PrefectureGoods,Long>{

    /**
     * <h2>查找专区商品表 列表</h2>
     * @param params 列表查询请求对象
     * @return List<PrefectureGoodsListDTO> {@link PrefectureGoodsListDTO}s  专区商品表 列表返回对象
     */
    RespJsonPageData<PrefectureGoodsListDTO> findPrefectureGoodsList(Map<String, Object> params);

    /**
     * <h2>新增专区商品表详情</h2>
     * @param prefectureGoodsBO {@link PrefectureGoodsBO} 专区商品表 新增/修改 请求对象
     * @return {@link RespJson} 返回结果基础类
     */
    RespJson addPrefectureGoods(PrefectureGoodsBO prefectureGoodsBO);

    /**
     * <h2>根据主键编号删除专区商品表信息</h2>
     * @param id  专区商品表 主键编号
     * @return  {@link RespJson} 返回结果基础类
     */
    RespJson deletePrefectureGoods(Long id);

    /**
     * <h1>修改专区商品推荐状态</h1>
     * @param prefectureGoodsStatusBO
     * @return
     */
    RespJson modifyPrefectureGoodsStatus(PrefectureGoodsStatusBO prefectureGoodsStatusBO);


    RespJsonData<List<GoodsSkuListDTO>> findGoodsSkuAll(PrefectureGoodsListBO prefectureGoodsListBO);
}
